<?php if (!isset($scripts)) { $scripts =  array();}?>

<?php foreach ($scripts as $js_url)?>
	<script type="text/javascript" src="<?php echo base_url($js_url)?>"></script>
<?php ?>